class Mediator {
    /**
     * 调解员id
     */
    mId: number | null = null;

    /**
     * 姓名
     */
    name: string | null = null;

    /**
     * 性别
     */
    gender: number | null = null;

    /**
     * 擅长领域
     */
    field: string | null = null;

    /**
     * 工作单位
     */
    workOrg: string | null = null;

    /**
     * 积分
     */
    points: number | null = null;

    /**
     * 从业时间
     */
    workTime: string | null = null;

    /**
     * 邮箱
     */
    email: string | null = null;

    /**
     * 身份证号
     */
    idNum: string | null = null;

    /**
     * 学历
     */
    education: string | null = null;

    /**
     * 出生年月YYYY-MM
     */
    birthDate: string | null = null;

    /**
     * 调解员类型,1签约调解员,2社会调解员
     */
    type: number | null = null;

    /**
     * 手机号
     */
    phone: string | null = null;
    //所属的组织的id
    orgId: number | null = null;

    /**
     * 创建时间
     */
    createdTime: string | null = null;

    constructor(mId?: number, name?: string, gender?: number, field?: string,
                workOrg?: string, points?: number, workTime?: string, email?: string,
                idNum?: string, education?: string, birthDate?: string, type?: number,
                phone?: string, createdTime?: string) {
        this.mId = mId ?? null;
        this.name = name ?? null;
        this.gender = gender ?? null;
        this.field = field ?? null;
        this.workOrg = workOrg ?? null;
        this.points = points ?? null;
        this.workTime = workTime ?? null;
        this.email = email ?? null;
        this.idNum = idNum ?? null;
        this.education = education ?? null;
        this.birthDate = birthDate ?? null;
        this.type = type ?? null;
        this.phone = phone ?? null;
        this.createdTime = createdTime ?? null;
    }
}
export default Mediator;